# _*_ coding: utf-8 _*_
from odoo import models, fields


class PurchaseOrder(models.Model):
    _inherit = "purchase.order"

    purchase_tolerance_id = fields.Many2one("purchase.tolerance", string="Purchase Tolerance",
                                            related="partner_id.purchase_tolerance_id", readonly=True)
